﻿<dialogs:ClosableDialogWindow x:Class="Mnk.Library.WpfControls.Dialogs.InputMemoBox"
             xmlns:loc="clr-namespace:Mnk.Library.WpfControls.Localization"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:dialogs="clr-namespace:Mnk.Library.WpfControls.Dialogs"
                                             Height="300" Width="350"
             MinHeight="300" MinWidth="350"
             FocusManager.FocusedElement="{Binding ElementName=edData}" >
    <DockPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" DockPanel.Dock="Bottom">
            <Button Name="btnOk" Content="{loc:Tr OK}" Width="64" Margin="10" Click="BtnOk_OnClick" ToolTipService.ShowOnDisabled="True"/>
            <Button Content="{loc:Tr Cancel}" Width="64" Margin="10" IsCancel="True"/>
        </StackPanel>
        <TextBlock Name="lbCaption" DockPanel.Dock="Top" Text="label" TextWrapping="WrapWithOverflow" />
        <TextBox Name="edData" Margin="5" HorizontalAlignment="Stretch" AcceptsReturn="True" AcceptsTab="True" />
    </DockPanel>
</dialogs:ClosableDialogWindow>
